package com.study.intercept;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

public class LoggerInterceptor implements Interceptor {

	public void intercept(Invocation ai) {
		//log to DB or content
		System.out.println("log to DB or content");
		 ai.invoke();
		
	}

}
